package com.example.sentinelstudy.controller;


import com.example.sentinelstudy.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SentinelController {

    @Autowired
    PersonService personService;

    @GetMapping("/get")
    public String get(){
        return personService.getBody();
    }

}
